package cn.com.thinvent.dispatch.service.biz;

import cn.com.thinvent.dispatch.entity.OrderDetail;
import cn.com.thinvent.dispatch.entity.OrderMain;
import cn.com.thinvent.dispatch.entity.response.OrderMainResponse;

import java.util.List;

public interface OrderService {

    void placeOrder(OrderMain orderMain, List<OrderDetail> orderDetails);

    List<OrderMainResponse> findOrdersByUserId(String userId);
}
